import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import List from '../components/test/c_List'
import Add from '../components/test/c_Add'
import Edit from '../components/test/c_Edit'

Vue.use(Router)

export default new Router({
    routes: [
        {path: '/', redirect: '/list'},
        {path: '/list', name: 'List',component: List},
        {path: '/edit/:albumId', name: 'Edit',component: Edit},
        {path: '/add', name: 'Add',component: Add},
    ]
})
